/**
 * 主入口
 */
import { createApp } from 'vue';
import ElementPlus from 'element-plus';
import 'element-plus/lib/theme-chalk/index.css';
import App from './App.vue';
import router from "./router";
import store from "./store";
import axios from "./util/http";
import "@/style/app.scss";
import _ from "lodash";
const echarts = require('echarts');

const app = createApp(App);
app.use(router);
app.use(store);
app.use(ElementPlus);
app.config.globalProperties.$http = axios;// 全局变量v3替代方法
app.config.globalProperties._ = _;
app.config.globalProperties.$echarts=echarts;
app.mount('#app');